import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Comment } from './entities/comment.entity';
import { CommentService } from './comment.service';
import { CommentController } from './comment.controller';
import { Topic } from '../topic/entities/topic.entity';
import { WxUserModule } from '../wxuser/wxuser.module'; // 导入 WxUserModule

@Module({
  imports: [TypeOrmModule.forFeature([Comment, Topic]), WxUserModule],
  providers: [CommentService],
  controllers: [CommentController],
})
export class CommentModule {}
